home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c++
- Path: in2.uu.net!utcsri!utnut!nott!emr1!jagrant
- From: jagrant@emr1.emr.ca (John Grant)
- Subject: Re: ListBox help
- Message-ID: <DnEw1F.F8D@emr1.emr.ca>
- Organization: Energy, Mines, and Resources, Ottawa
- References: <31321635.72CA@hiwaay.net>
- Date: Tue, 27 Feb 1996 01:56:03 GMT
-
- In article <31321635.72CA@hiwaay.net> Lance Perry <lperry@hiwaay.net> writes:
- >I am using MS Visual C++ 1.5.
- >
- >There is a message 'LBN_DBLCLK' that catches the Double-Click.
- >
- >Is there a way to program for the event of a Single-Click?
- A single click corresponds to a 'selection', so you can look for
- LBN_SELCHANGE.
-
- Note that LBN_SELCHANGE doesn't always represent a single click.
- If you move the cursor up/down in a multiple-selection listbox,
- you will also receive LBN_SELCHANGE.
- --
- John A. Grant jagrant@emr1.emr.ca
- Airborne Geophysics
- Geological Survey of Canada, Ottawa
-